#pragma once

#include <math.h>
#include "DCoordinates.h"

namespace cagd
{
    DCoordinate Helix(GLdouble u)
    {
        return DCoordinate(cos(u), sin(u), u);
    }

    DCoordinate d1Helix(GLdouble u)
    {
        return DCoordinate(-sin(u),cos(u),1.0);
    }

    DCoordinate d2Helix(GLdouble u)
    {
        return DCoordinate(-cos(u),-sin(u),0.0);
    }
}
